package io.github.fb513.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author fengbo
 * @since 2024-03-13
 */
@Getter
@Setter
@TableName("im_user")
public class User {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 创建时间
     */
    private LocalDateTime createdOn;

    /**
     * 修改时间
     */
    private LocalDateTime modifiedOn;

    private Long appId;

    private String nickName;

    /**
     * 外部系统用户ID
     */
    private String bizId;

    /**
     * 0-未知，1-男，2-女
     */
    private Integer userSex;

    /**
     * 用户头像
     */
    private String avatarUrl;


}
